package com.ohs.bll.service;

import java.util.List;

import com.ohs.bll.dto.SearchResultDTO;
import com.ohs.dal.model.Location;
import com.ohs.dal.model.Province;
import com.ohs.dal.model.Specialty;

public interface LocationService {

	public void update(Location location);

	public Location get(Long id);
	
	public SearchResultDTO getById(Long id);
	
	public SearchResultDTO getFullDetail(String username);
	
	public Location getByAccount(String username);

	public List<Location> findLocation(String keyword);
	
	public List<Location> getAllLocation();

	public int searchTotal(String keyword, long selectedProvinceId, long selectedSpecialtyId);
	
	public List<SearchResultDTO> search(String keyword, int startIndex, int pageSize, long selectedProvinceId, long selectedSpecialtyId);
	
	public List<Province> getAllProvince();
	
	public List<Specialty> getAllSpecialty();
	
	public List<Location> getTopLocation(int max);
}